﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Logistics.Model
{
    public enum LoginEnum
    {
        /// <summary>
        /// 登录成功
        /// </summary>
        [Description("登录成功")]
        Success = 0000,

        /// <summary>
        /// 登录失败，用户名不存！
        /// </summary>
        [Description("登录失败，用户名或密码错误！")]
        Error01 = 1000,
        /// <summary>
        /// 登录失败，密码错误！
        /// </summary>
        [Description("登录失败，密码错误！")]
        Error02 = 1001,
        /// <summary>
        /// 未登录,或登录失效！
        /// </summary>
        [Description("未登录,或登录失效！")]
        Error03 = 1002,
        /// <summary>
        /// 凭证无效，请重新登录！
        /// </summary>
        [Description("凭证无效，请重新登录！")]
        Error04 = 1003,
        /// <summary>
        /// 凭证无效,或没有登录！
        /// </summary>
        [Description("凭证无效,或没有登录！")]
        Error80 = 8003
    }

    public enum LoginOutEnum
    {
        /// <summary>
        /// 退出成功
        /// </summary>
        [Description("退出成功")]
        Success = 0000,
        /// <summary>
        /// 退出失败，用户名凭证不存在！
        /// </summary>
        [Description("退出失败，用户名凭证不存在！")]
        Error01 = 1000,
    }
}
